package com.gujiangbo.es.entity;

/**
 * @Author: gujiangbo.co
 * @Contact: 646832012@qq.com
 * @Date: 2022/4/29 10:31
 * @Version: 1.0
 * @Description:
 */
public class School {
    public  String index = "school";
    private String sId;
    private String name;
    private String address;
    private int anniversary;
    private String schoolmaster;

    public School(String sId, String name, String address, int anniversary, String schoolmaster) {
        this.sId = sId;
        this.name = name;
        this.address = address;
        this.anniversary = anniversary;
        this.schoolmaster = schoolmaster;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getsId() {
        return sId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getAnniversary() {
        return anniversary;
    }

    public void setAnniversary(int anniversary) {
        this.anniversary = anniversary;
    }

    public String getSchoolmaster() {
        return schoolmaster;
    }

    public void setSchoolmaster(String schoolmaster) {
        this.schoolmaster = schoolmaster;
    }

    @Override
    public String toString() {
        return "School{" +
                "sId='" + sId + '\'' +
                "name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", anniversary=" + anniversary +
                ", schoolmaster='" + schoolmaster + '\'' +
                '}';
    }
}
